package com.ccc3gc.dao;

import com.ccc3gc.entity.User;

import java.util.List;

public interface UserDao {
    User selectUserByUserName(String userName);

    User selectUserById(int id);

    List<User> selectUserByPage(int startRow, int pageSize, String keyWord);

    int selectUserCount(String keyWord);

    int insertUser(User user);

    int updateUser(User user);

    int deleteUser(int id);
    
    List<User> selectUserByKeyWord(String keyWord);
}
